import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import iView from 'iview'
import './globalRegistration'
import './less'

// 实际打包时应该不引入mock,若接口可用 则注释下列
import env from '../config/env'
env === 'development' && require('@/mock')

Vue.config.productionTip = false
Vue.use(iView)

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
